import 'package:plugin_platform_interface/plugin_platform_interface.dart';

import 'kiosk_model.dart';
import 'kiosk_model_method_channel.dart';

abstract class KioskModelPlatform extends PlatformInterface {
  /// Constructs a KioskModelPlatform.
  KioskModelPlatform() : super(token: _token);

  static final Object _token = Object();

  static KioskModelPlatform _instance = MethodChannelKioskModel();

  static KioskModelPlatform get instance => _instance;
  static set instance(KioskModelPlatform instance) {
    PlatformInterface.verifyToken(instance, _token);
    _instance = instance;
  }

  Future<bool> startKioskMode(){
    throw UnimplementedError('startKioskMode() has not been implemented.');
  }
  Future<bool> stopKioskMode(){
    throw UnimplementedError('stopKioskMode() has not been implemented.');
  }
  //
  Future<bool> owner(){
    throw UnimplementedError('owner() has not been implemented.');
  }

  /// 隐藏导航栏按键
  Future<bool> hideNavigationBar(bool disableNavigationBar){
    throw UnimplementedError('hideNavigationBar() has not been implemented.');
  }
}
